package core


type DispatchTable struct {
	Methods   [] *Function
	Children  [] *DispatchTable
	Parent    *DispatchTable
}

func GetSamInterfaceMethodValue(I Interface, h RuntimeHandle) Object {
	var this = I.UnderlyingObject
	var f = *(I.DispatchTable.Methods[0])
	return f.Call([] Object { this }, nil, h)
}


